#include "../include/error.h"

Error::Error() {

}

Error::~Error() {

}

void Error::errorNumber(int nError, const char *cError) {
    switch(nError) {
        case 1:
            std::cout << "gopii: invalid option " << cError << "\nTry `gopii --help' for more information.\n";
            exit(nError);
        
        default:
            std::cout << "Error number " << nError << "\n";
            exit(nError);
    }

}
